[INFO] fetching crate getters-by-type 0.2.6...
[INFO] fixing getters-by-type-0.2.6 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate getters-by-type 0.2.6 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate getters-by-type 0.2.6
[INFO] finished tweaking crates.io crate getters-by-type 0.2.6
[INFO] tweaked toml for crates.io crate getters-by-type 0.2.6 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate getters-by-type 0.2.6 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 4 packages to latest compatible versions
[INFO] [stderr]       Adding proc-macro2 v0.4.30 (available: v1.0.106)
[INFO] [stderr]       Adding quote v0.6.13 (available: v1.0.46)
[INFO] [stderr]       Adding syn v0.15.44 (available: v2.0.118)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ea552c9294a53b845d5692141ace5071b9fd8fbdcba0a8dff89e21a9c4c8801f
[INFO] running `Command { std: "docker" "start" "ea552c9294a53b845d5692141ace5071b9fd8fbdcba0a8dff89e21a9c4c8801f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ea552c9294a53b845d5692141ace5071b9fd8fbdcba0a8dff89e21a9c4c8801f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ea552c9294a53b845d5692141ace5071b9fd8fbdcba0a8dff89e21a9c4c8801f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ea552c9294a53b845d5692141ace5071b9fd8fbdcba0a8dff89e21a9c4c8801f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]     Checking unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking getters-by-type v0.2.6 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating tests/getters_by_type.rs from 2018 edition to 2021
[INFO] [stderr] error: errors present after applying fixes to crate `getters_by_type`
[INFO] [stderr]  --> tests/getters_by_type.rs
[INFO] [stderr]   = cause: error[E0599]: no method named `get_fields_box_fn_i32_f32_` found for struct `tests::test_getters_by_type___with_box_fn_types___compiles_fine::Test` in the current scope
[INFO] [stderr]               --> tests/getters_by_type.rs:129:27
[INFO] [stderr]                |
[INFO] [stderr]            124 |         struct Test {
[INFO] [stderr]                |         ----------- method `get_fields_box_fn_i32_f32_` not found for this struct
[INFO] [stderr]            ...
[INFO] [stderr]            129 |         assert_eq!(actual.get_fields_box_fn_i32_f32_().len(), 1);
[INFO] [stderr]                |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]                |
[INFO] [stderr]            help: there is a method `get_fields_box_dyn_fn_i32_f32_` with a similar name
[INFO] [stderr]                |
[INFO] [stderr]            129 |         assert_eq!(actual.get_fields_box_dyn_fn_i32_f32_().len(), 1);
[INFO] [stderr]                |                                          ++++
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            For more information about this error, try `rustc --explain E0599`.
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> tests/getters_by_type.rs:125:25
[INFO] [stdout]     |
[INFO] [stdout] 125 |             action: Box<Fn(i32) -> f32>,
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility`
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 125 |             action: Box<dyn Fn(i32) -> f32>,
[INFO] [stdout]     |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.78s
[INFO] [stderr] crater-edition-check: getters-by-type v0.2.6 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling getters-by-type v0.2.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:372:34
[INFO] [stdout]     |
[INFO] [stdout] 372 |     fn new(ty: &'a syn::Type) -> FieldsSharingType {
[INFO] [stdout]     |                 --               ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 372 |     fn new(ty: &'a syn::Type) -> FieldsSharingType<'a> {
[INFO] [stdout]     |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:403:27
[INFO] [stdout]     |
[INFO] [stdout] 403 | fn get_info_from_type(ty: &syn::Type) -> TypeInfo {
[INFO] [stdout]     |                           ^^^^^^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 403 | fn get_info_from_type(ty: &syn::Type) -> TypeInfo<'_> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:372:34
[INFO] [stdout]     |
[INFO] [stdout] 372 |     fn new(ty: &'a syn::Type) -> FieldsSharingType {
[INFO] [stdout]     |                 --               ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 372 |     fn new(ty: &'a syn::Type) -> FieldsSharingType<'a> {
[INFO] [stdout]     |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:403:27
[INFO] [stdout]     |
[INFO] [stdout] 403 | fn get_info_from_type(ty: &syn::Type) -> TypeInfo {
[INFO] [stdout]     |                           ^^^^^^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 403 | fn get_info_from_type(ty: &syn::Type) -> TypeInfo<'_> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:372:34
[INFO] [stdout]     |
[INFO] [stdout] 372 |     fn new(ty: &'a syn::Type) -> FieldsSharingType {
[INFO] [stdout]     |                 --               ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 372 |     fn new(ty: &'a syn::Type) -> FieldsSharingType<'a> {
[INFO] [stdout]     |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:403:27
[INFO] [stdout]     |
[INFO] [stdout] 403 | fn get_info_from_type(ty: &syn::Type) -> TypeInfo {
[INFO] [stdout]     |                           ^^^^^^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 403 | fn get_info_from_type(ty: &syn::Type) -> TypeInfo<'_> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]    --> tests/getters_by_type.rs:125:25
[INFO] [stdout]     |
[INFO] [stdout] 125 |             action: Box<Fn(i32) -> f32>,
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]     |
[INFO] [stdout] 125 |             action: Box<dyn Fn(i32) -> f32>,
[INFO] [stdout]     |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0782`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `getters-by-type` (test "getters_by_type") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "ea552c9294a53b845d5692141ace5071b9fd8fbdcba0a8dff89e21a9c4c8801f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea552c9294a53b845d5692141ace5071b9fd8fbdcba0a8dff89e21a9c4c8801f", kill_on_drop: false }`
[INFO] [stdout] ea552c9294a53b845d5692141ace5071b9fd8fbdcba0a8dff89e21a9c4c8801f
